package org.qs.webservice.vo;

import org.qs.webservice.util.StringUtils;

/**
 * 用户id
 * @ClassName: UserInfo 
 * @author xusaike 
 * @date 2015年10月13日 上午9:00:06 
 *
 */
public class UserInfo {
	//用户
	private String user_id;
	
	//用户名
	private String user_name;
	
	//手机号
	private String mobile_num;
	//邮箱
	private String email;
	//创建时间
	private String create_time;
	/*//修改时间
	private String modify_time;*/
	//注册源
	//private int regist_source;
	//性别  1男 0女
	//private String user_gender;
	//生日
	//private String user_birthday;
	
	private String image_url;
	
	private int is_author;
	
	private int balance;
	private int point;
	private int votes;
	

	public String getUser_id() {
		return user_id;
	}
	public void setUser_id(String user_id) {
		this.user_id = user_id;
	}
	public String getUser_name() {
		if(StringUtils.isNullOrEmpty(user_name)){
			return "";
		}
		return user_name;
	}
	public void setUser_name(String user_name) {
		this.user_name = user_name;
	}
	public String getMobile_num() {
		if(StringUtils.isNullOrEmpty(mobile_num)){
			return "";
		}
		return mobile_num;
	}
	public void setMobile_num(String mobile_num) {
		this.mobile_num = mobile_num;
	}
	public String getEmail() {
		if(StringUtils.isNullOrEmpty(email)){
			return "";
		}
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getCreate_time() {
		return create_time;
	}
	public void setCreate_time(String create_time) {
		this.create_time = create_time;
	}
	public int getIs_author() {
		return is_author;
	}
	public void setIs_author(int is_author) {
		this.is_author = is_author;
	}
	public String getImage_url() {
		if(StringUtils.isNullOrEmpty(image_url)){
			return "";
		}
		return image_url;
	}
	public void setImage_url(String image_url) {
		this.image_url = image_url;
	}
	public int getBalance() {
		return balance;
	}
	public void setBalance(int balance) {
		this.balance = balance;
	}
	/**
	 * @return the point
	 */
	public int getPoint() {
		return point;
	}
	/**
	 * @param point the point to set
	 */
	public void setPoint(int point) {
		this.point = point;
	}
	/**
	 * @return the votes
	 */
	public int getVotes() {
		return votes;
	}
	/**
	 * @param votes the votes to set
	 */
	public void setVotes(int votes) {
		this.votes = votes;
	}

	
	
}
